﻿using System.ComponentModel.DataAnnotations;
using YWM.Dto;

namespace PLC.Interface.Devices
{
    public class DeviceDto : EntityDto
    {
        [Required(ErrorMessage = "IP地址不能为空")]
        public string IP { get; set; }

        public ushort Port { get; set; }
    }
}